import { NgModule, ErrorHandler } from '@angular/core';
import { BrowserModule } from '@angular/platform-browser';
import { IonicApp, IonicModule, IonicErrorHandler } from 'ionic-angular';
import { MyApp } from './app.component';
import { MultiPickerModule } from 'ion-multi-picker';


import { AboutPage } from '../pages/about/about';
import { ContactPage } from '../pages/contact/contact';
import { HomePage } from '../pages/home/home';
import { TabsPage } from '../pages/tabs/tabs';

import { StatusBar } from '@ionic-native/status-bar';
import { SplashScreen } from '@ionic-native/splash-screen';
import { BrowserPage } from '../pages/browser/browser';
import { BrowserPopoverPage } from '../pages/browser/browser-popover';
import { SocialSharing } from '@ionic-native/social-sharing';
// import { HttpService } from '../providers/http-service/http-service';
import { HttpModule} from '@angular/http';
import { Toast } from '@ionic-native/toast';
// import { BrowserAnimationsModule } from '@angular/platform-browser/animations';






@NgModule({
  declarations: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage,
    BrowserPage,
    BrowserPopoverPage
  ],
  imports: [
    BrowserModule,
    MultiPickerModule,
    HttpModule,
    // BrowserAnimationsModule,
    IonicModule.forRoot(MyApp,{
      tabsHideOnSubPages:true
    })
  ],
  bootstrap: [IonicApp],
  entryComponents: [
    MyApp,
    AboutPage,
    ContactPage,
    HomePage,
    TabsPage,
    BrowserPage,
    BrowserPopoverPage
  ],
  providers: [
    StatusBar,
    SplashScreen,
    BrowserPage,
    SocialSharing,
    Toast,
    // HttpService,

    {provide: ErrorHandler, useClass: IonicErrorHandler},
    
  ]
})
export class AppModule {}
